package com.rs.lc.pm.service.user;

import com.rs.lc.pm.dao.mapper.UserMapper;
import com.rs.lc.pm.model.user.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by Xavier_Wei on 2016/11/14.
 */
@Service
public class UserService {
    @Resource
    private UserMapper userMapper;

    public User getByPhoneAndPassword(String phone, String password) {
        return userMapper.getByPhonePassword(phone, password);
    }
}
